<?php include 'application/views/header.php' ?>
<?php include 'application/views/left.php' ?>

<!-- BOX NEWS -->
<div class="content-box user-detail">
    <div class="title">
        <div class="label">Thông tin của người dùng</div>
        <div class="end-title"></div>
    </div>
    <!-- content -->
    <div class="user-detail-content clr">
        <table width="80%">
            <tr>
                <td>Họ tên</td>
                <td><?php echo $User['FullName']  ?></td>
            </tr>
            <tr>
                <td>Địa chỉ</td>
                <td><?php echo $User['Address']  ?></td>
            </tr>
            <tr>
                <td>Điện thoại</td>
                <td><?php echo $User['Phone']  ?></td>
            </tr>
            <tr>
                <td>Địa chỉ email</td>
                <td><?php echo $User['Email']  ?></td>
            </tr>
        </table>
        <div class="button-set">
            <input type="button" id="btnEdit" name="btnEdit" value="Sửa thông tin"/>
        </div>
    </div>
</div>

<?php include 'application/views/right.php' ?>
<?php include 'application/views/footer.php' ?>
<script>
    $('#btnEdit').click(function(){
        window.location.href = '<?php echo base_url() ?>user/edit';
    });
</script>